package link.gpt.service.impl;

import link.gpt.dao.GoodsSortDao;
import link.gpt.pojo.GoodsSort;
import link.gpt.service.GoodsSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version V1.0A
 * @uthor gpt
 * @Project holiday_task
 * @Package link.gpt.service.impl
 * @Description: ${TODO}
 * @Date 2021/10/5 17:08
 */
@Service
public class GoodsSortServiceImpl implements GoodsSortService {

   @Autowired
   private GoodsSortDao goodsSortDao;

   @Override
   public List<GoodsSort> findAll() {
      return goodsSortDao.selectByExample(null);
   }
}
